package cn.hnc.checkapi.bean.node;

public class DataInfo {
   private String token;

   public String getToken() {
      return this.token;
   }

   public void setToken(final String token) {
      this.token = token;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof DataInfo)) {
         return false;
      } else {
         DataInfo other = (DataInfo)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$token = this.getToken();
            Object other$token = other.getToken();
            if (this$token == null) {
               if (other$token != null) {
                  return false;
               }
            } else if (!this$token.equals(other$token)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof DataInfo;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $token = this.getToken();
      result = result * 59 + ($token == null ? 43 : $token.hashCode());
      return result;
   }

   public String toString() {
      return "DataInfo(token=" + this.getToken() + ")";
   }
}
